package com.fbs.wowo.finance.entity;

import java.math.BigDecimal;
import java.util.Date;

public class Payment {
    private String id;

    // 微信
    private String body;            // 128 商品 描述

    private String tradeNo;         // 32 商户系统内部订单号，32位以内，只能是数字、大小写字母_-|* 且在同一个商户号下唯一

    private String transactionId;   // 32 微信交易id

    private String buyerId;         // 买家id

    private BigDecimal totalFee;    // 交易金额

    private Date timeStart;         // ! 14 订单生成时间，格式为yyyyMMddHHmmss

    private Byte tradeType;       // 16 JSAPI 公众号支付 NATIVE 扫码支付 APP APP支付 支付宝支付

    private String productId;       // 32 trade_type=NATIVE时此参数必传。此参数为二维码中包含的商品ID，商户自定义

    private Byte productCategory;   // 产品分类（直播，图文音频，专辑）

    private Byte productType;       // 产品类型 打赏 其他

    private Byte status;            // 支付状态

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body == null ? null : body.trim();
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo == null ? null : tradeNo.trim();
    }

    public String getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId == null ? null : transactionId.trim();
    }

    public String getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(String buyerId) {
        this.buyerId = buyerId == null ? null : buyerId.trim();
    }

    public BigDecimal getTotalFee() {
        return totalFee;
    }

    public void setTotalFee(BigDecimal totalFee) {
        this.totalFee = totalFee;
    }

    public Date getTimeStart() {
        return timeStart;
    }

    public void setTimeStart(Date timeStart) {
        this.timeStart = timeStart;
    }

    public Byte getTradeType() {
        return tradeType;
    }

    public void setTradeType(Byte tradeType) {
        this.tradeType = tradeType;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId == null ? null : productId.trim();
    }

    public Byte getProductCategory() {
        return productCategory;
    }

    public void setProductCategory(Byte productCategory) {
        this.productCategory = productCategory;
    }

    public Byte getProductType() {
        return productType;
    }

    public void setProductType(Byte productType) {
        this.productType = productType;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }
}